import Vue from 'vue'
import App from './App.vue'
import router from './router'

// 引入elemnt-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import './assets/css/style.css'
import axios from 'axios';
axios.defaults.baseURL = "http://adminapi.pyg.com"
    // 绑定好到原型
Vue.prototype.$http = axios
Vue.use(ElementUI);
Vue.config.productionTip = false


new Vue({
    router,
    render: h => h(App)
}).$mount('#app')